
package Proxies;

import java.util.ArrayList;
import java.util.List;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlSchemaType;
import javax.xml.bind.annotation.XmlType;
import javax.xml.datatype.XMLGregorianCalendar;


/**
 * <p>Java class for dataContenido complex type.
 * 
 * <p>The following schema fragment specifies the expected content contained within this class.
 * 
 * <pre>
 * &lt;complexType name="dataContenido">
 *   &lt;complexContent>
 *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 *       &lt;sequence>
 *         &lt;element name="aprobacion" type="{http://WebServices/}enumAprob" minOccurs="0"/>
 *         &lt;element name="autor" type="{http://WebServices/}dataUsuario" minOccurs="0"/>
 *         &lt;element name="bloqueado" type="{http://www.w3.org/2001/XMLSchema}boolean"/>
 *         &lt;element name="comentarios" type="{http://WebServices/}dataComentario" maxOccurs="unbounded" minOccurs="0"/>
 *         &lt;element name="cuerpo" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
 *         &lt;element name="etiquetas" type="{http://WebServices/}dataUsuario" maxOccurs="unbounded" minOccurs="0"/>
 *         &lt;element name="fechaPublicacion" type="{http://www.w3.org/2001/XMLSchema}dateTime" minOccurs="0"/>
 *         &lt;element name="idMuro" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
 *         &lt;element name="perteneceGrupo" type="{http://www.w3.org/2001/XMLSchema}boolean"/>
 *         &lt;element name="publicar" type="{http://www.w3.org/2001/XMLSchema}boolean"/>
 *         &lt;element name="tipo" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
 *         &lt;element name="titulo" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
 *         &lt;element name="url" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
 *       &lt;/sequence>
 *     &lt;/restriction>
 *   &lt;/complexContent>
 * &lt;/complexType>
 * </pre>
 * 
 * 
 */
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "dataContenido", propOrder = {
    "aprobacion",
    "autor",
    "bloqueado",
    "comentarios",
    "cuerpo",
    "etiquetas",
    "fechaPublicacion",
    "idMuro",
    "perteneceGrupo",
    "publicar",
    "tipo",
    "titulo",
    "url"
})
public class DataContenido {

    protected EnumAprob aprobacion;
    protected DataUsuario autor;
    protected boolean bloqueado;
    @XmlElement(nillable = true)
    protected List<DataComentario> comentarios;
    protected String cuerpo;
    @XmlElement(nillable = true)
    protected List<DataUsuario> etiquetas;
    @XmlSchemaType(name = "dateTime")
    protected XMLGregorianCalendar fechaPublicacion;
    protected String idMuro;
    protected boolean perteneceGrupo;
    protected boolean publicar;
    protected String tipo;
    protected String titulo;
    protected String url;

    /**
     * Gets the value of the aprobacion property.
     * 
     * @return
     *     possible object is
     *     {@link EnumAprob }
     *     
     */
    public EnumAprob getAprobacion() {
        return aprobacion;
    }

    /**
     * Sets the value of the aprobacion property.
     * 
     * @param value
     *     allowed object is
     *     {@link EnumAprob }
     *     
     */
    public void setAprobacion(EnumAprob value) {
        this.aprobacion = value;
    }

    /**
     * Gets the value of the autor property.
     * 
     * @return
     *     possible object is
     *     {@link DataUsuario }
     *     
     */
    public DataUsuario getAutor() {
        return autor;
    }

    /**
     * Sets the value of the autor property.
     * 
     * @param value
     *     allowed object is
     *     {@link DataUsuario }
     *     
     */
    public void setAutor(DataUsuario value) {
        this.autor = value;
    }

    /**
     * Gets the value of the bloqueado property.
     * 
     */
    public boolean isBloqueado() {
        return bloqueado;
    }

    /**
     * Sets the value of the bloqueado property.
     * 
     */
    public void setBloqueado(boolean value) {
        this.bloqueado = value;
    }

    /**
     * Gets the value of the comentarios property.
     * 
     * <p>
     * This accessor method returns a reference to the live list,
     * not a snapshot. Therefore any modification you make to the
     * returned list will be present inside the JAXB object.
     * This is why there is not a <CODE>set</CODE> method for the comentarios property.
     * 
     * <p>
     * For example, to add a new item, do as follows:
     * <pre>
     *    getComentarios().add(newItem);
     * </pre>
     * 
     * 
     * <p>
     * Objects of the following type(s) are allowed in the list
     * {@link DataComentario }
     * 
     * 
     */
    public List<DataComentario> getComentarios() {
        if (comentarios == null) {
            comentarios = new ArrayList<DataComentario>();
        }
        return this.comentarios;
    }

    /**
     * Gets the value of the cuerpo property.
     * 
     * @return
     *     possible object is
     *     {@link String }
     *     
     */
    public String getCuerpo() {
        return cuerpo;
    }

    /**
     * Sets the value of the cuerpo property.
     * 
     * @param value
     *     allowed object is
     *     {@link String }
     *     
     */
    public void setCuerpo(String value) {
        this.cuerpo = value;
    }

    /**
     * Gets the value of the etiquetas property.
     * 
     * <p>
     * This accessor method returns a reference to the live list,
     * not a snapshot. Therefore any modification you make to the
     * returned list will be present inside the JAXB object.
     * This is why there is not a <CODE>set</CODE> method for the etiquetas property.
     * 
     * <p>
     * For example, to add a new item, do as follows:
     * <pre>
     *    getEtiquetas().add(newItem);
     * </pre>
     * 
     * 
     * <p>
     * Objects of the following type(s) are allowed in the list
     * {@link DataUsuario }
     * 
     * 
     */
    public List<DataUsuario> getEtiquetas() {
        if (etiquetas == null) {
            etiquetas = new ArrayList<DataUsuario>();
        }
        return this.etiquetas;
    }

    /**
     * Gets the value of the fechaPublicacion property.
     * 
     * @return
     *     possible object is
     *     {@link XMLGregorianCalendar }
     *     
     */
    public XMLGregorianCalendar getFechaPublicacion() {
        return fechaPublicacion;
    }

    /**
     * Sets the value of the fechaPublicacion property.
     * 
     * @param value
     *     allowed object is
     *     {@link XMLGregorianCalendar }
     *     
     */
    public void setFechaPublicacion(XMLGregorianCalendar value) {
        this.fechaPublicacion = value;
    }

    /**
     * Gets the value of the idMuro property.
     * 
     * @return
     *     possible object is
     *     {@link String }
     *     
     */
    public String getIdMuro() {
        return idMuro;
    }

    /**
     * Sets the value of the idMuro property.
     * 
     * @param value
     *     allowed object is
     *     {@link String }
     *     
     */
    public void setIdMuro(String value) {
        this.idMuro = value;
    }

    /**
     * Gets the value of the perteneceGrupo property.
     * 
     */
    public boolean isPerteneceGrupo() {
        return perteneceGrupo;
    }

    /**
     * Sets the value of the perteneceGrupo property.
     * 
     */
    public void setPerteneceGrupo(boolean value) {
        this.perteneceGrupo = value;
    }

    /**
     * Gets the value of the publicar property.
     * 
     */
    public boolean isPublicar() {
        return publicar;
    }

    /**
     * Sets the value of the publicar property.
     * 
     */
    public void setPublicar(boolean value) {
        this.publicar = value;
    }

    /**
     * Gets the value of the tipo property.
     * 
     * @return
     *     possible object is
     *     {@link String }
     *     
     */
    public String getTipo() {
        return tipo;
    }

    /**
     * Sets the value of the tipo property.
     * 
     * @param value
     *     allowed object is
     *     {@link String }
     *     
     */
    public void setTipo(String value) {
        this.tipo = value;
    }

    /**
     * Gets the value of the titulo property.
     * 
     * @return
     *     possible object is
     *     {@link String }
     *     
     */
    public String getTitulo() {
        return titulo;
    }

    /**
     * Sets the value of the titulo property.
     * 
     * @param value
     *     allowed object is
     *     {@link String }
     *     
     */
    public void setTitulo(String value) {
        this.titulo = value;
    }

    /**
     * Gets the value of the url property.
     * 
     * @return
     *     possible object is
     *     {@link String }
     *     
     */
    public String getUrl() {
        return url;
    }

    /**
     * Sets the value of the url property.
     * 
     * @param value
     *     allowed object is
     *     {@link String }
     *     
     */
    public void setUrl(String value) {
        this.url = value;
    }

}
